﻿using System.Windows;

namespace PSEComponents.Deployment.ConfigurationManager.UI
{
	/// <summary>
	/// Classe de inicialização da aplicação ConfigurationManager
	/// </summary>
	public partial class ConfigurationManagerApplication : PSE.Deployment.SetupBase.ApplicationBase
    {
        public string ParametersFilePath { get; set; }

        protected override void OnApplicationStartup(object sender, StartupEventArgs e)
        {
            base.OnApplicationStartup(sender, e);

			MainWindow mw = new MainWindow();
			if(mw.CheckSystemInstallation())
				mw.ShowDialog();

            Shutdown();
        }
    }
}